<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>LifeCycle</title>
    </head>
    <body>
        <div id="app">
            name:{{user.name}}
            age:{{user.age}}
        </div>
        <script src="vue.js"></script>
        <script>  
        var vm = new Vue({
            el:'#app',
            data:{
                user:{
                    name:'zhangsan',
                    age:18
                },
                items:['A','B','C'],
                a:1,
                b:2,
                c:3
            },
        });
    </script>
    </body>
</html>